package com.yonyou.pmclouds.safetyrectification.relationuser.service;

import com.yonyou.pmclouds.basecom.exception.BusinessException;
import com.yonyou.pmclouds.safetyrectification.relationuser.entity.RelationUserVO;

import java.util.List;

/**
 * 安全整改-抄送人事务接口
 *
 * @author tanghuan
 * @date 2019/10/26
 */
public interface IRelationUserMaintain {
    /**
     * 新增
     *
     * @param vo
     * @return
     * @throws BusinessException
     */
    RelationUserVO add(RelationUserVO vo) throws BusinessException;

    /**
     * 批量新增
     *
     * @param relationUserVOList
     * @return
     * @throws BusinessException
     */
    RelationUserVO[] addVOs(List<RelationUserVO> relationUserVOList) throws BusinessException;
}
